﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013F5 RID: 5109
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyGamePlaySettleNotify : IMessage<TrainPartyGamePlaySettleNotify>, IMessage, IEquatable<TrainPartyGamePlaySettleNotify>, IDeepCloneable<TrainPartyGamePlaySettleNotify>, IBufferMessage
	{
		// Token: 0x17004071 RID: 16497
		// (get) Token: 0x0600E4D5 RID: 58581 RVA: 0x00264047 File Offset: 0x00262247
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyGamePlaySettleNotify> Parser
		{
			get
			{
				return TrainPartyGamePlaySettleNotify._parser;
			}
		}

		// Token: 0x17004072 RID: 16498
		// (get) Token: 0x0600E4D6 RID: 58582 RVA: 0x0026404E File Offset: 0x0026224E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyGamePlaySettleNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004073 RID: 16499
		// (get) Token: 0x0600E4D7 RID: 58583 RVA: 0x00264060 File Offset: 0x00262260
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyGamePlaySettleNotify.Descriptor;
			}
		}

		// Token: 0x0600E4D8 RID: 58584 RVA: 0x00264067 File Offset: 0x00262267
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyGamePlaySettleNotify()
		{
		}

		// Token: 0x0600E4D9 RID: 58585 RVA: 0x0026407C File Offset: 0x0026227C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyGamePlaySettleNotify(TrainPartyGamePlaySettleNotify other) : this()
		{
			this.mPLMHGMENFL_ = ((other.mPLMHGMENFL_ != null) ? other.mPLMHGMENFL_.Clone() : null);
			this.recordId_ = other.recordId_;
			this.dPOLGBKEKLD_ = other.dPOLGBKEKLD_;
			this.bFBPHDKHHKO_ = other.bFBPHDKHHKO_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E4DA RID: 58586 RVA: 0x002640E5 File Offset: 0x002622E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyGamePlaySettleNotify Clone()
		{
			return new TrainPartyGamePlaySettleNotify(this);
		}

		// Token: 0x17004074 RID: 16500
		// (get) Token: 0x0600E4DB RID: 58587 RVA: 0x002640ED File Offset: 0x002622ED
		// (set) Token: 0x0600E4DC RID: 58588 RVA: 0x002640F5 File Offset: 0x002622F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyPassengerInfo MPLMHGMENFL
		{
			get
			{
				return this.mPLMHGMENFL_;
			}
			set
			{
				this.mPLMHGMENFL_ = value;
			}
		}

		// Token: 0x17004075 RID: 16501
		// (get) Token: 0x0600E4DD RID: 58589 RVA: 0x002640FE File Offset: 0x002622FE
		// (set) Token: 0x0600E4DE RID: 58590 RVA: 0x00264106 File Offset: 0x00262306
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RecordId
		{
			get
			{
				return this.recordId_;
			}
			set
			{
				this.recordId_ = value;
			}
		}

		// Token: 0x17004076 RID: 16502
		// (get) Token: 0x0600E4DF RID: 58591 RVA: 0x0026410F File Offset: 0x0026230F
		// (set) Token: 0x0600E4E0 RID: 58592 RVA: 0x00264117 File Offset: 0x00262317
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DPOLGBKEKLD
		{
			get
			{
				return this.dPOLGBKEKLD_;
			}
			set
			{
				this.dPOLGBKEKLD_ = value;
			}
		}

		// Token: 0x17004077 RID: 16503
		// (get) Token: 0x0600E4E1 RID: 58593 RVA: 0x00264120 File Offset: 0x00262320
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> BFBPHDKHHKO
		{
			get
			{
				return this.bFBPHDKHHKO_;
			}
		}

		// Token: 0x0600E4E2 RID: 58594 RVA: 0x00264128 File Offset: 0x00262328
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyGamePlaySettleNotify);
		}

		// Token: 0x0600E4E3 RID: 58595 RVA: 0x00264138 File Offset: 0x00262338
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyGamePlaySettleNotify other)
		{
			return other != null && (other == this || (object.Equals(this.MPLMHGMENFL, other.MPLMHGMENFL) && this.RecordId == other.RecordId && this.DPOLGBKEKLD == other.DPOLGBKEKLD && this.bFBPHDKHHKO_.Equals(other.bFBPHDKHHKO_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E4E4 RID: 58596 RVA: 0x002641AC File Offset: 0x002623AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.mPLMHGMENFL_ != null)
			{
				num ^= this.MPLMHGMENFL.GetHashCode();
			}
			if (this.RecordId != 0U)
			{
				num ^= this.RecordId.GetHashCode();
			}
			if (this.DPOLGBKEKLD != 0U)
			{
				num ^= this.DPOLGBKEKLD.GetHashCode();
			}
			num ^= this.bFBPHDKHHKO_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E4E5 RID: 58597 RVA: 0x00264228 File Offset: 0x00262428
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E4E6 RID: 58598 RVA: 0x00264230 File Offset: 0x00262430
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E4E7 RID: 58599 RVA: 0x0026423C File Offset: 0x0026243C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.bFBPHDKHHKO_.WriteTo(ref output, TrainPartyGamePlaySettleNotify._repeated_bFBPHDKHHKO_codec);
			if (this.mPLMHGMENFL_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.MPLMHGMENFL);
			}
			if (this.RecordId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.RecordId);
			}
			if (this.DPOLGBKEKLD != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.DPOLGBKEKLD);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E4E8 RID: 58600 RVA: 0x002642C4 File Offset: 0x002624C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.mPLMHGMENFL_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.MPLMHGMENFL);
			}
			if (this.RecordId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RecordId);
			}
			if (this.DPOLGBKEKLD != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DPOLGBKEKLD);
			}
			num += this.bFBPHDKHHKO_.CalculateSize(TrainPartyGamePlaySettleNotify._repeated_bFBPHDKHHKO_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E4E9 RID: 58601 RVA: 0x00264348 File Offset: 0x00262548
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyGamePlaySettleNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.mPLMHGMENFL_ != null)
			{
				if (this.mPLMHGMENFL_ == null)
				{
					this.MPLMHGMENFL = new TrainPartyPassengerInfo();
				}
				this.MPLMHGMENFL.MergeFrom(other.MPLMHGMENFL);
			}
			if (other.RecordId != 0U)
			{
				this.RecordId = other.RecordId;
			}
			if (other.DPOLGBKEKLD != 0U)
			{
				this.DPOLGBKEKLD = other.DPOLGBKEKLD;
			}
			this.bFBPHDKHHKO_.Add(other.bFBPHDKHHKO_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E4EA RID: 58602 RVA: 0x002643D5 File Offset: 0x002625D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E4EB RID: 58603 RVA: 0x002643E0 File Offset: 0x002625E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 10U)
				{
					if (num == 8U || num == 10U)
					{
						this.bFBPHDKHHKO_.AddEntriesFrom(ref input, TrainPartyGamePlaySettleNotify._repeated_bFBPHDKHHKO_codec);
						continue;
					}
				}
				else
				{
					if (num == 26U)
					{
						if (this.mPLMHGMENFL_ == null)
						{
							this.MPLMHGMENFL = new TrainPartyPassengerInfo();
						}
						input.ReadMessage(this.MPLMHGMENFL);
						continue;
					}
					if (num == 72U)
					{
						this.RecordId = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.DPOLGBKEKLD = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005A91 RID: 23185
		private static readonly MessageParser<TrainPartyGamePlaySettleNotify> _parser = new MessageParser<TrainPartyGamePlaySettleNotify>(() => new TrainPartyGamePlaySettleNotify());

		// Token: 0x04005A92 RID: 23186
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005A93 RID: 23187
		public const int MPLMHGMENFLFieldNumber = 3;

		// Token: 0x04005A94 RID: 23188
		private TrainPartyPassengerInfo mPLMHGMENFL_;

		// Token: 0x04005A95 RID: 23189
		public const int RecordIdFieldNumber = 9;

		// Token: 0x04005A96 RID: 23190
		private uint recordId_;

		// Token: 0x04005A97 RID: 23191
		public const int DPOLGBKEKLDFieldNumber = 14;

		// Token: 0x04005A98 RID: 23192
		private uint dPOLGBKEKLD_;

		// Token: 0x04005A99 RID: 23193
		public const int BFBPHDKHHKOFieldNumber = 1;

		// Token: 0x04005A9A RID: 23194
		private static readonly FieldCodec<uint> _repeated_bFBPHDKHHKO_codec = FieldCodec.ForUInt32(10U);

		// Token: 0x04005A9B RID: 23195
		private readonly RepeatedField<uint> bFBPHDKHHKO_ = new RepeatedField<uint>();
	}
}
